<%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>
<%@ include file="/common/taglibs.jsp"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<script type="text/javascript"
	src="<c:url value='/ext/scripts/index/index.js'/>">
</script>
<head>
	<title><fmt:message key="title.zywxImage1" />
	</title>
</head>

<script language="javascript" type="text/javascript"
	src="/APSCO/ext/scripts/display/displaypage.js">
</script>
<script type="text/javascript">
jQuery(function() {
	
	jQuery("#displayallpage").val(${displayallpage});
	jQuery("#tz").val(${thispage});})
	
	
function deleteornot(str) {
	var del_str = "<fmt:message key='collect.delete_or_not'/>";

if (!confirm(del_str)) {
	}else{
		var pt = document.getElementById("ptmeth").value; 
		window.location = "${ctx}/zywximage/zywximageEdit.html?method=delete&ptmeth="+pt+"&productid="+str+"&tz="+${thispage};
	}
}
</script>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  
  
  <body>
  
  	<div class="tabbiao">
			<div class="r">
				<div class="con">
					<div style="float: left; width: 100%; margin: 0; padding: 0;" onclick="hiddenselectcon();">
						
					</div>
				</div>
			</div>
		</div>
   
  
   <input type="hidden" id="ptmeth" value="${ptmeth}" />
   
  
					
	 <input type="button" 
				onclick="location.href='<c:url value="/zywximage/zywximageEdit.html?method=inedit"/>'"
				 class="btn_add" />		
				
   <display:table name="ZywxImage1" cellspacing="0" cellpadding="0"
				requestURI="" partialList="true" size="${resultSize}"
				style="width:100%;" class="table_display" defaultsort="4" defaultorder="descending"
				id="zywxImage1" pagesize="10" export="true">
	
				
	<display:column property="productid" escapeXml="true"
					sortable="true" titleKey="image1.productid" maxLength="10"
					style="width: 10%;border-left:1px solid #feb808;" />
	<display:column property="sensorid" escapeXml="true"
					sortable="true" titleKey="image1.sensorid" maxLength="10"
					style="width: 10%;border-left:1px solid #feb808;" />
	<display:column property="sceneid" escapeXml="true"
					sortable="true" titleKey="image1.sceneid" maxLength="10"
					style="width: 10%;border-left:1px solid #feb808;" />				
	
	<display:column property="centerlatitude" escapeXml="true"
					sortable="true" titleKey="image1.centerlatitude" maxLength="10"
					style="width: 10%;border-left:1px solid #feb808;" />
	<display:column property="centerlongitude" escapeXml="true"
					sortable="true" titleKey="image1.centerlongitude" maxLength="10"
					style="width: 10%;border-left:1px solid #feb808;" />
	<display:column property="mapprojection" escapeXml="true"
					sortable="true" titleKey="image1.mapprojection" maxLength="10"
					style="width: 10%;border-left:1px solid #feb808;" />				
	<display:column property="productdate" escapeXml="true"
					sortable="true" titleKey="image1.productdate" maxLength="10"
					style="width: 10%;border-left:1px solid #feb808;" />				
	<display:column property="orbitid" escapeXml="true"
					sortable="true" titleKey="image1.orbitid" maxLength="10"
					style="width: 10%;border-left:1px solid #feb808;" />
	<display:column style="width: 10%;border-right:1px solid #feb808;"
					titleKey="product.opt">
					<a href="${ctx}/zywximage/zywximageEdit.html?method=inedit&productid=${zywxImage1.productid}&tz=${thispage}&ptmeth=${ptmeth}"><fmt:message
							key="button.update" /> </a>
					<a href="#" onclick="deleteornot(${zywxImage1.productid});"><fmt:message
							key="button.delete" /> </a>
					<a href="${ctx}/zywximage/zywximageEdit.html?method=ineditXq&productid=${zywxImage1.productid}&tz=${thispage}&ptmeth=${ptmeth}"><fmt:message
							key="common.view" /> </a>
	</display:column>
				<display:setProperty name="export.pdf" value="false" />
				<display:setProperty name="export.csv" value="false" />
				<display:setProperty name="export.xml" value="false" />
			
	</display:table>
  </body>
</html>
